projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e68c4e
)
Fix a typo
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 11 Mar 2016 21:38:41 +0000
(16:38 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 11 Mar 2016 21:38:41 +0000
(16:38 -0500)
We don't want to get the padding twice.
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index 6302676d0f2bdeda0896c2faf8cc785fe172657f..d92d1cfbd3ba527415edf843680f3890c2fad6e8 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-4808,7
+4808,7
@@
text_window_set_padding (GtkTextView *text_view,
priv = text_view->priv;
gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &padding);
- gtk_style_context_get_
padding
(context, gtk_style_context_get_state (context), &border);
+ gtk_style_context_get_
border
(context, gtk_style_context_get_state (context), &border);
padding.left += border.left;
padding.right += border.right;
padding.top += border.top;